package com.kymatrix.mpo.plus.bpm.server.model.entity.definition;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kymatrix.mpo.plus.common.business.common.BaseTenantEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * BPM 流程表达式 DO
 */
@TableName("t_bpm_process_expression")
@Data
@Accessors(chain=true)
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class BpmProcessExpressionEntity extends BaseTenantEntity {

    /**
     * 表达式名字
     */
    @TableField("name")
    private String name;
    /**
     * 表达式状态
     * {@link com.kymatrix.mpo.plus.common.enums.EnableTypeEnum}
     */
    @TableField("status")
    private String status;
    /**
     * 表达式
     */
    @TableField("expression")
    private String expression;

}
